package com.cgwx.common.enums;

import com.fasterxml.jackson.annotation.JsonValue;

public enum LoopMaterialType implements InfoEnum{
    DOCUMENT("DOCUMENT","上传文件"),
    WORD("WORD","文字描述"),
    ;

    private String code;

    @JsonValue
    private String info;

    LoopMaterialType(String code, String info) {
        this.code = code;
        this.info = info;
    }

    @Override
    public String getSelfCode() {
        return this.code;
    }

    @Override
    public String getSelfInfo() {
        return this.info;
    }
}
